<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>后台管理模板</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="../../layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="../../css/global.css" media="all">
		<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
		<link rel="stylesheet" href="../../datatables/media/css/jquery.dataTables.css">
		<link rel="stylesheet" href="../../datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.css">
	</head>
	<body>
		<div class="layui-layout layui-layout-admin" style="border-bottom: solid 5px #1aa094;">
			<!--头部导航-->
			<div class="layui-header header header-demo" ></div>
			<!--左侧导航-->
			<div class="layui-side layui-bg-black" id="admin-side">
			</div>
			<!--右侧具体内容-->
			<div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;padding:20px" id="admin-body">
				<div class="title">投诉列表</div>
				<hr />
				<div class="layui-form">
					<table class="layui-table" id="complainTable">
						<thead>
							<tr>
								<th style="width: 140px">投诉时间</th>
								<th style="width: 100px">被投诉对象</th>
								<th style="width: 100px">投诉发起方</th>
								<th>内容</th>
								<th>状态</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>2017-6-30</td>
								<td><img src="../../images/1.jpg"><span>adj</span></td>
								<td><img src="../../images/0.jpg"><span>lzy</span></td>
								<td>没送货到家</td>
								<td>未处理</td>
								<td><div class="layui-btn  layui-btn-small">详情</div></td>
							</tr>
							<tr>
								<td>2017-6-30</td>
								<td><img src="../../images/xiaosong.jpg"><span>lzy</span></td>
								<td><img src="../../images/0.jpg"><span>dssd</span></td>
								<td>没送货到家</td>
								<td>未处理</td>
								<td><div class="layui-btn  layui-btn-small">详情</div></td>
							</tr>
							<tr>
								<td>2017-6-30</td>
								<td><img src="../../images/6.jpg"><span>wqds</span></td>
								<td><img src="../../images/0.jpg"><span>lzy</span></td>
								<td>没送货到家</td>
								<td>已处理</td>
								<td><div class="layui-btn  layui-btn-small">详情</div></td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
			<!--底部导航-->
			<div class="layui-footer footer footer-demo" id="admin-footer"></div>
			<!--JS模块-->
			<script type="text/javascript" src="../../layui/layui.js"></script>
			<script src="../../js/jquery-1.12.3.min.js"></script>
			<script src="../../js/index.js"></script>
			<!-- DataTables JavaScript -->
			<script src="../../datatables/media/js/jquery.dataTables.min.js"></script>
			<script>
			$(function(){
			$("#complain").addClass('layui-this');//对应订单管理的背景色
			$('#complainTable').DataTable({
			responsive: true,
			ordering: false,
			searching: true,
			"bLengthChange": false,
			"bRetrieve": true,
			"bFilter": true//过滤功能
			});
			for (var i = 0; i < 12; i++) {
				$('#complainTable').dataTable().fnAddData(['2017-6-30', '<img src="../../images/6.jpg"><span>wqds</span>', '<img src="../../images/0.jpg"><span>lzy</span>','没送货到家', '已处理','<div class="layui-btn  layui-btn-small">详情</div>'] );
			}
			// $('#complainTable').dataTable().fnClearTable();//清除表格内
			})
			
			</script>
			
		</div>
	</body>
</html>